<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS的基本语法</title>
    <style>
        /* css样式写在这里 */
        h1 {
            color: red;
            font-size: 14px;
        }
    </style>
</head>

<body>
    <h1>我是h1标题</h1>
    <p>我是一个段落。</p>
    <div>我是div</div>
</body>

</html>